package cn.xunjie.ymcc.feign;


import cn.xunjie.ymcc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "service-media", fallbackFactory = MediaSearchFeignClientFallBackFactory.class)
public interface MediaSearchFeignClient {
    @RequestMapping(value="/mediaFile/searchMediaFiles/{chapterId}",method= RequestMethod.GET)
    JSONResult searchMediaFiles(@PathVariable("chapterId") Long chapterId);
}
